package com.cesgroup.zw.spring.boot.library.echarts.barAndScatter.complex;

import com.cesgroup.zw.spring.boot.charts.model.IChartsParam;
import com.cesgroup.zw.spring.boot.charts.model.IComponent;
import lombok.Builder;
import lombok.Data;

import java.util.Map;


/**
 * @author ytj
 * @date 2019/7/5 13:45
 */
@Builder
@Data
@SuppressWarnings("serial")
public class ComplexBarAndScatterParam implements IChartsParam<IComponent,Map<Object,Object>> {
    private Map<Object,Object> dataset;

    @Override
    public IComponent[] getSeries() {
        IComponent[] iChartsParams={new ComplexBarSeries(this,"条"),new ComplexBarSeries(this,"白框"),new ComplexBarSeries(this,"外框"),new ComplexScatterSeries(this)};
        return iChartsParams;
    }
}
